package de.graffiti.interfaces;

import java.util.Vector;
import javax.ejb.Remote;

@Remote
public interface WallpaperService
{
	/**
	 * 
	 * @param wallpaperid
	 * @return
	 */
	public Wallpaper getWallpaper(int wallpaperid);

	/**
	 * 
	 * @param author
	 * @param title
	 * @param content
	 * @param contenttype
	 * @param repeating
	 * @param height
	 * @param width
	 * @return
	 */
	public boolean saveWallpaper(String author, String title, byte[] content, String contenttype, boolean repeating, int height, int width);

	/**
	 * 
	 * @param contentid
	 * @return
	 */
	public Content getContent(int contentid);

	/**
	 * 
	 * @return
	 */
	public Vector<Wallpaper> getAll();
}